package org.pillar.fitness.course.service;

import org.pillar.fitness.common.core.domain.AjaxResult;
import org.pillar.fitness.course.domain.Course;
import com.baomidou.mybatisplus.extension.service.IService;
import org.pillar.fitness.course.domain.vo.CourseVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author javaboy
 * @since 2023-01-10
 */
public interface ICourseService extends IService<Course> {

    List<CourseVo> selectCourseList(CourseVo courseVo);

    AjaxResult addCourse(CourseVo courseVo);

    AjaxResult updateCourse(CourseVo courseVo);

    boolean deleteCourseByIds(Long[] courseIds);

    boolean importCourse(List<CourseVo> coursesList, boolean updateSupport);
}
